package com.example.study.testSwap;

/**
 * 工具类
 *
 * @author
 * @create 2019-08-05 22:24
 **/
public class AS {

    public void get() throws ClassNotFoundException {
        this.getClass().getClassLoader().loadClass("com.example.study.testSwap.AS").getName();
        System.out.println(this.getClass().getClassLoader().loadClass("com.example.study.testSwap.AS").getName());

    }

    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        Thread myThread1 = new Thread(myThread);
        Thread myThread2 = new Thread(myThread);
        Thread myThread3= new Thread(myThread);
        myThread1.start();
        myThread2.start();
        myThread3.start();


    }
}
